<template>
  <div id="app">
    <!-- 添加后跳转才会显示路由中的页面 -->
    <router-view></router-view>
  </div>
</template>

<script>
//import 'assets/css/CodeWeb.css';

export default {
  name: 'App',
  created() {
    this.$nextTick(() => {
      // 禁用右键
      //document.oncontextmenu = new Function("event.returnValue=false");
      // 禁用选择
      //document.onselectstart = new Function("event.returnValue=false");
    });
  },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: lighter;

}
</style>
